package a.e.b.b;

import a.c.q;
import a.e.b.e;
import org.w3c.dom.Node;

import java.util.*;

public class j
  implements t
{
  private final t a;
  private final Object b;
  private final Collection c;
  private Map d;
  private e e;
  private q f;
  static Class g;
  public static boolean h;
  
  public j(t paramt, Object paramObject)
  {
    this.a = paramt;
    this.b = paramObject;
    ArrayList localArrayList = new ArrayList(paramt.a().size() + 1);
    localArrayList.add(0, paramObject);
    localArrayList.addAll(paramt.a());
    if (a.b == 0)
    {
      this.c = localArrayList;
      if (!(paramObject instanceof q)) {}
    }
    else
    {
      this.f = ((q)paramObject);
    }
  }
  
  public j(t paramt)
  {
    this.a = paramt;
    this.b = paramt.b();
    this.c = paramt.a();
  }
  
  public t e()
  {
    return this.a;
  }
  
  public Object a(Class paramClass)
  {
    int i = a.b;
    if ((i != 0) || (this.e != null))
    {
      Object localObject = this.e.a(paramClass);
      if ((i != 0) || (localObject != null)) {
        return localObject;
      }
    }
    if (i == 0) {}
    if (paramClass == (g == null ? (j.g = a("a.e.b.b.j")) : g)) {
      return this;
    }
    return this.a.a(paramClass);
  }
  
  public void a(Class paramClass, Object paramObject)
  {
    if (a.b == 0) {
      if (this.e == null) {
        this.e = new e();
      }
    }
    this.e.a(paramClass, paramObject);
  }
  
  public void b(Class paramClass)
  {
    if ((a.b != 0) || (this.e != null)) {
      this.e.c(paramClass);
    }
  }
  
  public Collection a()
  {
    return Collections.unmodifiableCollection(this.c);
  }
  
  public Object b()
  {
    return this.b;
  }
  
  public x c()
  {
    return this.a.c();
  }
  
  public q d()
  {
    if (a.b == 0) {}
    return this.f != null ? this.f : this.a.d();
  }
  
  public Object a(Object paramObject)
  {
    int i = a.b;
    if (i == 0) {
      if (this.d != null)
      {
        Object localObject = this.d.get(paramObject);
        if (i != 0) {
          break label46;
        }
        if (localObject != null) {
          return localObject;
        }
      }
    }
    label46:
    return this.a.a(paramObject);
  }
  
  public void a(Object paramObject1, Object paramObject2)
  {
    if (a.b == 0) {
      if (this.d == null) {
        this.d = new HashMap();
      }
    }
    this.d.put(paramObject1, paramObject2);
  }
  
  public void b(Object paramObject)
  {
    if ((a.b != 0) || (this.d != null)) {
      this.d.remove(paramObject);
    }
  }
  
  public Object a(t paramt, Node paramNode, Class paramClass)
    throws a
  {
    if ((a.b != 0) || (paramNode != null)) {
      return this.a.a(paramt, paramNode, paramClass);
    }
    return null;
  }
  
  public Object a(Node paramNode)
    throws a
  {
    return a(this, paramNode, null);
  }
  
  static Class a(String paramString)
  {
    try
    {
      return Class.forName(paramString);
    }
    catch (ClassNotFoundException localClassNotFoundException)
    {
      throw new NoClassDefFoundError(localClassNotFoundException.getMessage());
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.e.b.b.j

 * JD-Core Version:    0.7.0.1

 */